home *** CD-ROM | disk | FTP | other *** search
- Path: news-2.csn.net!user
- From: gmckee@cloudnine.com (Gary McKee)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: weird unchecked conversion, in C++
- Date: Tue, 27 Feb 1996 21:38:17 -0700
- Organization: McKee Consulting (Consulting in Ada)
- Message-ID: <AD592A499668281C19@p48.denver1.dialup.csn.net>
- References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com> <312515DF.7D3B@cmlj.demon.co.uk> <4gad29$ddp@druid.borland.com> <4 <dirk.824894312@demokrit> <4geuge$n56@qualcomm.com> <4gspbo$rjm@gaia.ns.utk.edu> <dewar.825427437@schonberg>
- NNTP-Posting-Host: 204.131.233.48
-
- In article on "Re: C/C++ knocks the crap out of Ada"
- <dewar.825427437@schonberg>,dewar@cs.nyu.edu (Robert Dewar) wrote:
-
- > If a programmer wants to do a weird unchecked conversion, in C++ you
- just
- > go ahead and write a cast and that's the end of it.
- >
- > In Ada, you have to make a big production of things, with
- unchecked_Conversoin,
- > instantiated it, and then use it.
- >
- > Not only is this more work, but you might find some pesky rule saying
- that
- > only certain units in the program are permitted to with
- Unchecked_Conversion
- > (an example of top down control).
- --------------------------------------------------------
- ALSO, If a programmer wants NOT to do a weird unchecked conversion, in C++
- ----- ---
-
- IT'S STILL VERY EASY TO DO.
- ---------------------------
-
- --------------------------------------------------------------------
- Gary McKee McKee Consulting
- gmckee@cloudnine.com P. O. Box 3009
- voice: (303) 795-7287 Littleton, CO 80161-3009
- WWW home page => <http://www.csn.net/~gmckee/>
- --------------------------------------------------------------------
-